<?php
namespace Article\Model;

class ArticleCateModel extends \Common\Model\BaseModel{
	
	/**
	 * [getCateList description]
	 * @param  [type] $condition [description]
	 * @return [type]            [description]
	 */
	public function getCateList($condition,$field){
		$rs = $this->field($field)->where($condition)->select();
		foreach ($rs as $key => $value) {
			$data[] = $value;
		}
		return $data;
	}
}